package com.gavin.lingxi;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.gavin.lingxi.base.AppBaseActivity;
import com.gavin.lingxi.rtc.R;

import static com.google.zxing.client.android.Scanner.SCAN_RESULT;
public class MoreResultActivity extends AppBaseActivity {
    TextView tv_result;
    private TextView title;
    private ImageView mIvBack;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_more__result);
        tv_result = findViewById(R.id.tv_result);
        tv_result.setText(getIntent().getStringExtra(SCAN_RESULT));
        mIvBack = findViewById(R.id.back);
        mIvBack.setVisibility(View.VISIBLE);
        mIvBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        title = findViewById(R.id.title);
        title.setText(getResources().getString(R.string.scan_result));
    }
}

